<template>
	<view>
		<!-- 头像区域 -->
		<view class="tab-my">
			<view class="tab-my-image">
				<image class="image_name"
					src="https://img1.baidu.com/it/u=3139083397,2010985426&fm=224&fmt=auto&gp=0.jpg">
				</image>
				<text class="text_name">黄宇</text>
			</view>
		</view>
		<view class="panel-list">

			<!-- 收藏列表 -->
			<view class="resolve_list">
				<view class="pannel-item">
					<text>8</text>
					<text>收藏的店铺</text>
				</view>
				<view class="pannel-item">
					<text>14</text>
					<text>收藏的商品</text>
				</view>
				<view class="pannel-item">
					<text>18</text>
					<text>关注的商品</text>
				</view>
				<view class="pannel-item">
					<text>84</text>
					<text>足迹</text>
				</view>
			</view>
			<!-- 订单列表 -->
			<view class="menu_list">
				<view class="list_title">
					<text>我的订单</text>
				</view>
				<view class="list_context">
					<view class="list_icon">
						<view class="cart">
							<u-icon name="order" size="60" color="red"></text></u-icon>
							<text>待付款</text>
						</view>
						<view class="cart">
							<u-icon name="car" size="60" color="red"></u-icon>
							<text>待收货</text>
						</view>
						<view class="cart">
							<u-icon name="rmb-circle" size="60" color="red"></u-icon>
							<text>退款/退货</text>
						</view>
						<view class="cart">
							<u-icon name="file-text" size="60" color="red"></u-icon>
							<text>全部订单</text>
						</view>
					</view>
				</view>
			</view>
			<!-- 列表区域 -->
			<view class="list_box">
				<view class="list_area">
					<text>收货地址</text>
					<u-icon name="arrow-right"></u-icon>
				</view>
				<view class="list_area">
					<text>联系客服</text>
					<u-icon name="arrow-right"></u-icon>
				</view>
				<view class="list_area">
					<text>退出登录</text>
					<u-icon name="arrow-right"></u-icon>
				</view>

			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.tab-my {
		background: #C00000;
		justify-content: center;
		align-items: center;
		display: flex;
		height: 200px;

		.tab-my-image {

			width: 100px;
			height: 100px;

			.image_name {

				width: 100%;
				height: 100%;
				border-radius: 50%;
				overflow: hidden;

			}

			.text_name {
				display: flex;
				flex-wrap: wrap;
				justify-content: center;
				align-items: center;
				font-size: 16px;
				color: #FFFFFF;
			}
		}
	}

	.panel-list {
		padding: 0 10px;
		position: relative;
		top: -10px;

		.resolve_list {
			height: 50px;
			width: 100%;
			display: flex;
			top: -10px;
			background: #F3F4F6;
			padding: 0 10px;

			.pannel-item {
				display: flex;
				flex-wrap: wrap;
				flex-direction: column;
				align-items: center;
				justify-content: space-around;
				margin: 0 10px;
				padding: 10px 0;
				font-size: 14px;
				font-weight: 500;
			}
		}

		.menu_list {
			background: #F3F4F6;
			margin: 5px 0;
			height: 100px;
			position: relative;

			.list_title {
				font-size: 14px;
				font-weight: 500;
				padding: 10px;
				border-bottom: 1px solid #DCDFE6;
			}

			.list_context {
				display: flex;

				.list_icon {
					display: flex;

					.cart {
						display: flex;
						flex-wrap: wrap;
						flex-direction: column;
						align-items: center;
						justify-content: space-between;
						margin: 0 15px;
						padding: 10px 0;
						font: 14px;
						font-weight: 500;
					}
				}
			}
		}

		.list_box {
			background: #F3F4F6;
			margin: 5px 0;
			.list_area {
				  height: 50px;
				  display: flex;
				  justify-content: space-between;
				  align-items: center;
				  font-size: 12px;
				  padding: 0 10px;
			}
		}
	}
</style>
